module.exports = {

  devServer: {
    // port: port,
    open: false,
    overlay: {
      warnings: false,
      errors: true
    },
    proxy: {
      "/Ipkjzzs": {
        target: `https://hzkjzz.hzsgis.com/Ip109-232-8080`,
        changeOrigin: true,
        pathRewrite: {
          "/Ipkjzzs": ""
        }
      },
      // 本地测试
      "/Ip-dev": {
        target: "http://10.95.83.98:11978",
        changeOrigin: true,
        pathRewrite: {
          "/Ip-dev": "",
        },
      },
    },

    // after: require('./mock/mock-server.js')
  }
}